TreeGridLoaded ({ /* JSONP header, to be possible to load from xxx_Jsonp data source */ 
   "Cfg" : { "id": "AutoTree", "SuppressCfg": "1", "Sorting": "0", "Size": "Low"   },  // Suppresses configuration and sorting 
   "Cfg_2" : { "SuppressMessage": "3"   },  // Suppresses all messages, including page messages 

   // Defines automatic row pages 
   "Cfg_3" : { "Paging": "2"   },  // Turns on client paging for rows, required for AutoPages 
   "Cfg_4" : { "AutoPages": "1"   },  // Automatically adds new rows after scrolling to bottom 
   "Cfg_5" : { "PageLength": "10"   },  // The rows are added by 10 in the step 
   "Cfg_6" : { "MaxPages": "3"   },  // Removes unused row pages, renders maximally 3 pages 
   "Cfg_7" : { "RemoveUnusedFixed": "0"   },  // Shows always the left side row index and panel 
   "Cfg_8" : { "RemoveAutoPages": "1"   },  // Automatically removes all unused pages at the grid end 
   "Pager" : { "Visible": "0"   },  // Hides the side pager that is shown for paging by default 

   // Defines automatic column pages 
   "Cfg_9" : { "ColPaging": "2"   },  // Turns on client paging for columns, required for AutoColPages 
   "Cfg_10" : { "AutoColPages": "1"   },  // Automatically adds new columns after scrolling to left
   "Cfg_11" : { "ColPageLength": "10"   },  // The columns are added by 10 in the step 
   "Cfg_12" : { "ColPageMin": "0"   },  // Does not render any column on start outside the column pages 
   "Cfg_13" : { "MaxColPages": "3"   },  // Removes unused column pages, renders maximally 3 pages 
   "Cfg_14" : { "ColPagingFixed": "0"   },  // Shows always the top column header and panel 
   "Cfg_15" : { "RemoveAutoColPages": "1"   },  // Automatically removes all unused column pages at the grid end 

   // Defines row and column indexes 
   "Cfg_16" : { "RowIndex": "Index", "RowIndexType": "46"   },  // Creates number RowIndex with all data rows except deleted 
   "Cfg_17" : { "ColIndex": "Header", "ColIndexType": "30", "ColIndexChars": "ABCDEFGHIJKLMNOPQRSTUVWXYZ"   },  // Creates letter ColIndex with all data columns except deleted  

   // Defines column tree 
   "Cfg_18" : { "ColTree": "3"   },  // Permits column tree and shows parents on the left side 
   "Cfg_19" : { "MaxColLevel": "10"   },  // Maximal value of column Level 

   // Defines row tree 
   "Cfg_20" : { "MainCol": "Index"   },  // Show the row tree in the Index column 
   "Cfg_21" : { "HideEmptyTree": "1"   },  // Hides the root tree if there are only root rows 
   "Cfg_22" : { "AutoTreeWidth": "40"   },  // Sets automatic width of the main column and sets width of its text part
   "Header" : { "IndexLevels": "1"   },  // Show the level buttons for the Index column in the main header 
   "Cfg_23" : { "IndentType": "2"   },  // Preserves row position when indent / outdent and places it rather to different parent and forces the intent / outdent 
   "Cfg_24" : { "HideTree": "0"   },  // Shows row tree 

   //- Formula editing 
   "Cfg_25" : { "FormulaEditing": "1"   },  // Permits formula editing; Uploads the formula in the cell value, not in EFormula attribute 
   "Cfg_26" : { "FormulaChanges": "0"   },  // Does not mark values calculated by formula as Changed 
   "Cfg_27" : { "FormulaType": "0"   },  // Does not calculate deleted, filtered and hidden rows and columns 
   "Cfg_28" : { "DragEdit": "2"   },  // Permits dragging during editing to choose cell ranges in formula 
   "Cfg_29" : { "FormulaRelative": "1"   },  // Cell references can be absolute or relative. Cell references in formulas in data xml in/out are in standard notation 
   "Cfg_30" : { "FormulaLocal": "0"   },  // Formula names in xml in/out are not localized English format 
   "Cfg_31" : { "FormulaResults": "31"   },  // Cells with error formulas are marked red and error message is shown; the formula results are checked against cell restrictions; the null and NaN results are not permitted  
   "Cfg_32" : { "FormulaCircular": "6"   },  // Circular cell references in formulas are restricted with error message 
   "Cfg_33" : { "EditErrorsMessageTime": "1000"   },  // How long the formula and edit error message will be shown 
   "Cfg_34" : { "FormulaAddParenthesis": "1"   },  // Tries to adds ')' to the end of formula when editing resulted to incorrect formula 
   "Cfg_35" : { "CalculateColumns": "1"   },  // Recalculates sheet also after any column manipulation except resizing 
   "Cfg_36" : { "NoExportFunc": "getcollevel,getrowlevel,calccnt"   },  // Custom functions that cannot be exported to xlsx, listed are function names used in EFormula 
   "DefCols" : [  { "Name": "Auto", "FormulaSuggest": "6"   }   ],   // For every column generates suggest list of all available formula functions to use in formula editing 
   "Actions" : { "OnDragHeader": "ChooseColsReplaceAll OR ColMoveSelected OR ColMove", "OnCtrlDragHeader": "ChooseColsInsert OR ColCopySelected OR ColCopy"   },  // Dragging header during formula edit will choose the columns to the range 
   "Lang" : { 
      "FormulaFunctions" : { "getcollevel": "getcollevel", "getrowlevel": "getrowlevel", "calccnt": "calccnt"   }   // custom function defined in html script. The name is the JavaScript function name, the value is function name usable in sheet 
   },  

   // Cell popup menu to manipulate rows and columns 
   "Cfg_37" : { "Menu": {Head:'Actions',Items:[
         {Name:'Rows',Caption:1},
         {Name:'Select',Menu:1,Items:'|SelectRow|DeselectRow|SelectFocusedRows|DeselectFocusedRows|-|SelectAll|DeselectAll|InvertAll'},
         {Name:'Show',Menu:1,Items:'|ShowRowAbove|ShowRowBelow|ShowRows|ShowRowsW'},
         {Name:'Hide',Menu:1,Items:'|HideRows'},
         {Name:'Add',Menu:1,Items:'|AddRow|AddRows@2|-|CopyRow|CopyRows|CopySelected'},
         {Name:'Delete',Menu:1,Items:'|DeleteRows|UndeleteRows|RemoveRows'},
         {Name:'Tree',Menu:1,Items:'|Indent|Outdent'},
         {Name:'-'},
         {Name:'Columns',Caption:1},
         {Name:'Select',Menu:1,Items:'|SelectCol|DeselectCol|SelectFocusedCols|DeselectFocusedCols|-|SelectAllCols|DeselectAllCols'},
         {Name:'Show',Menu:1,Items:'|ShowColLeft|ShowColRight|ShowCols|ShowColsW'},
         {Name:'Hide',Menu:1,Items:'|HideCols'},
         {Name:'Add',Menu:1,Items:'|AddCol|AddCols@2|-|CopyCol|CopyCols|CopySelectedCols'},
         {Name:'Delete',Menu:1,Items:'|DeleteCols|UndeleteCols|RemoveCols'},
         {Name:'Tree',Menu:1,Items:'|IndentColsForce|OutdentColsForce'},
      ]}   }, 

   // Other settings often set in the sheets 
   "Cfg_38" : { "SelectAllType": "31"   },  // The SelectAll button on panels is a switch; it is changed also when the row/column is selected/unselected; the added rows/columns are automatically selected if it is on 
   "Cfg_39" : { "ColAdding": "1", "ColDeleting": "1", "SelectingCols": "1"   },  // Permits column manipulating; shows the buttons on column panel 
   "Cfg_40" : { "Undo": "79"   },  // Permits undoing all actions, including scroll 
   "Cfg_41" : { "EnterMode": "1"   },  // Enter moves cursor down 
   "Cfg_42" : { "FocusRect": "5"   },  // Permits focusing cell range and hides focused cursor for the whole row. Does not show the corner and does not move and copy the focused range by dragging. 
   "Cfg_43" : { "CopyCols": "0", "PasteCols": "5", "PasteFocused": "11", "ExcludeClear": "1"   },  // Copy & paste focused cells instead of rows 
   "Cfg_44" : { "DynamicSpan": "2"   },  // Permits spanning cells dynamically 
   "Panel" : { "Copy": "1"   },  // Show add button in row panel 
   "Header_2" : { "Index": " ", "Align": "Center"   },  // Centers all cells in header 
   "Def" : [ 
      { "Name": "ColTree", "IndexButton": "Level", "IndexHoverCell": ""   }   // Show the button to expand given column level 
   ], 
   "DefCols_2" : [ 
      { "Name": "Auto", "Type": "Auto"   }  
   ], 
   "Head" : [ 
      { "Kind":"Panel", "Index": "ColSelectAll,ColDeleteAll,ColCopyAll"   }    // Adds panel for columns 
   ], 

   // Fixed columns 
   "LeftCols" : [ 
      { "Name": "Index", "Align": "Center", "Def": "Index"   }, 
      { "Name": "Panel"   }, 
      { "Name": "A", "Def": "Auto"   }, 
      { "Name": "B", "Def": "Auto"   }  
   ], 

   // Columns with tree 
   "Cols" : [ 
      { "Name": "C", "Def": "Auto"   }, 
      { "Name": "D", "Def": "Auto", "Level": "1"   }, 
      { "Name": "E", "Def": "Auto", "Level": "1"   }, 
      { "Name": "F", "Def": "Auto", "Level": "2"   }, 
      { "Name": "G", "Def": "Auto", "Level": "3"   }, 
      { "Name": "H", "Def": "Auto", "Level": "3"   }, 
      { "Name": "I", "Def": "Auto", "Level": "1"   }, 
      { "Name": "J", "Def": "Auto", "Level": "1"   }, 
      { "Name": "K", "Def": "Auto", "Level": "2"   }, 
      { "Name": "L", "Def": "Auto", "Level": "2"   }, 
      { "Name": "M", "Def": "Auto", "Level": "2"   }, 
      { "Name": "N", "Def": "Auto", "Level": "1"   }, 
      { "Name": "O", "Def": "Auto"   }, 
      { "Name": "P", "Def": "Auto"   }, 
      { "Name": "Q", "Def": "Auto", "Level": "1"   }, 
      { "Name": "R", "Def": "Auto", "Level": "1"   }, 
      { "Name": "S", "Def": "Auto", "Level": "2"   }, 
      { "Name": "T", "Def": "Auto", "Level": "3"   }, 
      { "Name": "U", "Def": "Auto", "Level": "2"   }, 
      { "Name": "V", "Def": "Auto", "Level": "1"   }, 
      { "Name": "W", "Def": "Auto", "Level": "2"   }, 
      { "Name": "X", "Def": "Auto", "Level": "2"   }, 
      { "Name": "Y", "Def": "Auto", "Level": "3", "Visible": "0"   }, 
      { "Name": "Z", "Def": "Auto", "Level": "3", "Visible": "0"   }, 
      { "Name": "AA", "Def": "Auto", "Level": "2"   }, 
      { "Name": "AB", "Def": "Auto", "Level": "1"   }, 
      { "Name": "AC", "Def": "Auto", "Level": "2"   }, 
      { "Name": "AD", "Def": "Auto", "Level": "1"   }  
   ], 

   // Fixed rows 
   "Head_2" : [ 
      { "A": "=calccnt()", "B": "Fixed", "C": "C", "D": "D", "E": "E", "F": "F", "G": "G", "H": "H", "I": "I", "J": "J", "K": "K", "L": "L", "M": "M", "N": "N", "O": "O", "P": "P", "Q": "Q", "R": "R", "S": "S", "T": "T", "U": "U", "V": "V", "W": "W", "X": "X", "Y": "Y", "Z": "Z", "AA": "AA", "AB": "AB", "AC": "AC", "AD": "AD"   }, 
      { "A": "Fixed", "B": "Level", 
         "C": "=getcollevel()", "D": "=getcollevel()", "E": "=getcollevel()", "F": "=getcollevel()", "G": "=getcollevel()", "H": "=getcollevel()", "I": "=getcollevel()", "J": "=getcollevel()", "K": "=getcollevel()", "L": "=getcollevel()", 
         "M": "=getcollevel()", "N": "=getcollevel()", "O": "=getcollevel()", "P": "=getcollevel()", "Q": "=getcollevel()", "R": "=getcollevel()", "S": "=getcollevel()", "T": "=getcollevel()", "U": "=getcollevel()", "V": "=getcollevel()", 
         "W": "=getcollevel()", "X": "=getcollevel()", "Y": "=getcollevel()", "Z": "=getcollevel()", "AA": "=getcollevel()", "AB": "=getcollevel()", "AC": "=getcollevel()", "AD": "=getcollevel()"   }  
   ], 
   "Body" : [ 
      [ 
         { "A": "3", "B": "=getrowlevel()"   }, 
         { "A": "4", "B": "=getrowlevel()", "Level": "1"   }, 
         { "A": "5", "B": "=getrowlevel()", "Level": "1", "FRowSpan": "8", "FSpan": "8"   }, 
         { "A": "6", "B": "=getrowlevel()", "Level": "2"   }, 
         { "A": "7", "B": "=getrowlevel()", "Level": "3"   }, 
         { "A": "8", "B": "=getrowlevel()", "Level": "2", "Expanded": "0"   }, 
         { "A": "9", "B": "=getrowlevel()", "Level": "3"   }, 
         { "A": "10", "B": "=getrowlevel()", "Level": "3"   }, 
         { "A": "11", "B": "=getrowlevel()", "Level": "2"   }, 
         { "A": "12", "B": "=getrowlevel()", "Level": "1"   }, 
         { "A": "13", "B": "=getrowlevel()", "Level": "1"   }, 
         { "A": "14", "B": "=getrowlevel()"   }, 
         { "A": "15", "B": "=getrowlevel()"   }, 
         { "A": "16", "B": "=getrowlevel()", "Level": "1"   }, 
         { "A": "17", "B": "=getrowlevel()", "Level": "2"   }, 
         { "A": "18", "B": "=getrowlevel()", "Level": "2"   }, 
         { "A": "19", "B": "=getrowlevel()", "Level": "1"   }, 
         { "A": "20", "B": "=getrowlevel()", "Level": "2"   }, 
         { "A": "21", "B": "=getrowlevel()", "Level": "3"   }, 
         { "A": "22", "B": "=getrowlevel()", "Level": "4"   }, 
         { "A": "23", "B": "=getrowlevel()", "Level": "4"   }, 
         { "A": "24", "B": "=getrowlevel()", "Level": "5"   }, 
         { "A": "25", "B": "=getrowlevel()"   }, 
         { "A": "26", "B": "=getrowlevel()", "Level": "1"   }, 
         { "A": "27", "B": "=getrowlevel()", "Level": "2"   }, 
         { "A": "28", "B": "=getrowlevel()", "Level": "1"   }, 
         { "A": "29", "B": "=getrowlevel()", "Level": "2"   }, 
         { "A": "30", "B": "=getrowlevel()", "Level": "3"   }, 
         { "A": "31", "B": "=getrowlevel()", "Level": "2"   }, 
         { "A": "32", "B": "=getrowlevel()", "Level": "3"   }  
      ], 
   ], 
}) /* End of JSONP header */ 